package com.annchain.og_browser.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
//转账交易
@ApiModel("转账交易")
public class TransferTxVO {
    @ApiModelProperty("交易哈希")
    private String hash;
    @ApiModelProperty("交易类型")
    private String type;
    @ApiModelProperty("区块高度")
    private int height;
    @ApiModelProperty("产生时间")
    private String outputTime;
    @ApiModelProperty("资产类型")
    private String propertyTypeName;
    @ApiModelProperty("交易的数量")
    private Long amount;

    @ApiModelProperty("出块人")
    private AddressVo miner;
    @ApiModelProperty("From")
    private AddressVo from;
    @ApiModelProperty("To")
    private AddressVo to;

    @ApiModelProperty("账户Nonce")
    private Long accountNonce;
    @ApiModelProperty("工作量证明Nonce")
    private Long mineNonce;   //工作量证明Nonce
    @ApiModelProperty("交易签名")
    private String sign;
    @ApiModelProperty("父节点列表")
    private List<String> parentList;

}
